package com.bz.order.service;

import com.bz.pojo.TbOrder;
import com.bz.pojo.TbOrderItem;
import com.bz.pojo.TbOrderShipping;
import com.bz.utils.Result;

import java.util.List;

public interface OrderService {

    /**
     * 创建订单
     * @param tbOrderItemList
     * @param tbOrder
     * @param tbOrderShipping
     * @return
     */
    Result insertOrder(List<TbOrderItem> tbOrderItemList, TbOrder tbOrder, TbOrderShipping tbOrderShipping);
}
